package com.bwie.service;

import com.bwie.pojo.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.utils.R;
import freemarker.template.TemplateException;

import java.io.IOException;

/**
* @author 61630
* @description 针对表【tb_order】的数据库操作Service
* @createDate 2024-09-09 15:03:38
*/
public interface OrderService extends IService<Order> {

    R getListByNum(Integer number);

    R insertOrder(Order order) throws TemplateException, IOException;

    R getOrderList();

    R updateOrder(Order order,String token);
}
